<template>
    <view class="mine">
        
        <view class="mine__item" @click="handleClick('/pages/add-company/index')">
            添加公司
        </view>
        <view class="mine__item" @click="handleClick('/pages/question/index')">
            添加问题
        </view>
        <view class="mine__item" @click="handleClick('/pages/company/index')">
            公司列表
        </view>
    </view>
</template>

<script setup lang="ts">
import navigator from '@/utils/navigator'
const handleClick = (p: string)=> {
    navigator.navigateTo(p)
}
</script>

<style scoped lang="scss">
.mine {
    background-color: #F8F8F8;
    min-height: 100vh;
    padding: 16px 0;
    &__item {
        background-color: #fff;
        padding: 12px 16px;
        border-radius: 6px;
        font-size: 14px;
    }
}
</style>